//
//  Projects.m
//  PerfectWorld
//
//  Created by dllo on 16/8/29.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "Projects.h"
#import "User.h"
@implementation Projects

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
            _user = [User modelWithDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"P_description"]) {
        _P_description = value;
    }
    if ([key isEqualToString:@"id"]) {
        _Son_id = value;
    }
}
@end
